<?php

namespace App\Http\Controllers\Wechat;

use Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Repositories\Wechat\ValidRepository;

class ValidController extends Controller
{
    public function getValid(ValidRepository $repository) {
        define("TOKEN", "ShanHuJiaoShangDePHPer");
        $repository->valid();
    }

    public function getTest() {
        echo 'This is a test.';
        exit;
    }
}
